package com.duoec.doc.dto.response;

/**
 *
 * @author xuwenzhen
 * @date 2020/2/5
 */
public class MockResponse {

    /**
     * 响应状态码：200=正常 404=记录找不到 403=权限不足 500=参数有误 503=未知错误
     * @demo 200
     */
    private Integer code;

    /**
     * 响应体
     * @demo {"name": "hello duo-doc mock!"}
     */
    private String body;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
